package com.jhy.ws.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum EventTypeEnum {
    /**
     * webSocket事件类型
     */
    oline(0, "上线通知"),
    logout(1, "下线通知"),
    text(2, "普通文本消息"),

    ;


    private final Integer code;
    private final String title;
}
